import request from '@/utils/request'

// 查询班级费用结算列表
export function listClassPaymentSettlement(query) {
  return request({
    url: '/training/classPaymentSettlement/list',
    method: 'get',
    params: query
  })
}

// 查询班级费用结算详细
export function getClassPaymentSettlement(classPaymentSettlementId) {
  return request({
    url: '/training/classPaymentSettlement/' + classPaymentSettlementId,
    method: 'get'
  })
}

// 新增班级费用结算
export function addClassPaymentSettlement(data) {
  return request({
    url: '/training/classPaymentSettlement',
    method: 'post',
    data: data
  })
}

// 修改班级费用结算
export function updateClassPaymentSettlement(data) {
  return request({
    url: '/training/classPaymentSettlement',
    method: 'put',
    data: data
  })
}

// 删除班级费用结算
export function delClassPaymentSettlement(classPaymentSettlementId) {
  return request({
    url: '/training/classPaymentSettlement/' + classPaymentSettlementId,
    method: 'delete'
  })
}


